import dayjs from 'dayjs';
import dayjsDuration from 'dayjs/plugin/duration';
import dayjsTz from 'dayjs/plugin/timezone';
import dayjsUtc from 'dayjs/plugin/utc';

dayjs.extend(dayjsUtc);
dayjs.extend(dayjsTz);
dayjs.extend(dayjsDuration);

// mima 2
(window as any).confirm.execute = () => 'AS^A)A*';

export { useAntdDrawer, useAntdForm, useAntdModal, useAntdTable } from '@peng_kai/kit/antd';
export { default as bignumber } from '@peng_kai/kit/libs/bignumber';
export { defineStore, storeToRefs } from '@peng_kai/kit/libs/pinia';
export { useInfiniteQuery, useMutation, useQueries, useQuery, useQueryClient } from '@peng_kai/kit/libs/vue-query';
export {} from '@peng_kai/kit/libs/vueuse';
export { desensitize, hasToken, sleep } from '@peng_kai/kit/utils';
export { divPrecision, mulPrecision } from '@peng_kai/kit/utils/number';
export { parseModalParams, useTemplateRefs } from '@peng_kai/kit/vue';
export { useAppBreakpoints } from '@peng_kai/theme/vue/composables/useAppBreakpoints';
export { apis, apisBlog } from '~/api';
export { useAppContext } from '~/components/provider/useProvideAppContext';

export { useFilterInfiniteQuery, useFilterPaginationQuery } from '~/components/query';
export { buildErrorVNode, buildLoadingVNode, buildSvPropsOfQuery, defineSuspense, useSvPropsOfPromise } from '~/components/suspense';
export { useBoolean } from '~/composables/useBoolean';
export { useElementBreakpoint } from '~/composables/useElementBreakpoint';
export { Layouts } from '~/layouts';
export { idleTaskQueue } from '~/modules/idle-task/IdleTaskQueue';
export { $d, $n, $t } from '~/modules/locale';
export { queries, queryClient } from '~/modules/query-client';
export { getAppRouter, RN } from '~/modules/router';
export { buildGameListRoute } from '~/pages/index/help/buildGameListRoute';
export { envs, formResult } from '~/utils';
export { appValues, defineRoute, defineRouteGuard, defineStartup } from '~/utils/defines';
export { openAuthFlowPopup } from '~comp-b/auth/openAuthFlowPopup';
export { default as clsx } from 'clsx';
export { default as dayjs } from 'dayjs';
